package com.zpark.bean;


import java.util.List;

/**
 * 电影实体类
 */
public class Movie {
    private Integer id;
    private String title;
    private String concent;
    //一对多的关系
    private List<MovieComment> movieCommentList;

    //Generate:Getter and Setter,toString


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getConcent() {
        return concent;
    }

    public void setConcent(String concent) {
        this.concent = concent;
    }

    public List<MovieComment> getMovieCommentList() {
        return movieCommentList;
    }

    public void setMovieCommentList(List<MovieComment> movieCommentList) {
        this.movieCommentList = movieCommentList;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", concent='" + concent + '\'' +
                ", movieCommentList=" + movieCommentList +
                '}';
    }
}
